package com.blue.bluecode;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;


public class ImageViewActivity extends Activity {

    private ImageView ivImageView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_view);
        getActionBar().setDisplayHomeAsUpEnabled(true);

        ivImageView = (ImageView) findViewById(R.id.ivImageView);
        ivImageView.setBaselineAlignBottom(true);
        ivImageView.setImageResource(R.mipmap.test2);

    }


}
